.productSelect {
  .searchCard {
    margin-bottom: 16px;
  }

  .productList {
    min-height: 300px;
  }

  .pagination {
    margin-top: 16px;
    text-align: right;
  }
}

.productCard {
  width: 100%;
  height: 280px; /* 固定高度 */
  transition: all 0.3s;
  display: flex;
  flex-direction: column;

  &:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .ant-card-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
  }

  .cardCover {
    height: 100px; /* 缩小图片区域高度 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;

    .productImage {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .cardBody {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;

    .productName {
      margin-bottom: 8px;
      font-size: 14px;
    }

    .productMeta {
      margin-bottom: 8px;
      flex: 1;
    }

    .productPrice {
      margin-bottom: 8px;
      font-size: 16px;
    }

    .productTag {
      margin-top: 4px;
    }
  }
}
